<template>
    <el-form ref="wxconfigInfoForm" :model="info" :rules="rules" label-width="150px">
    <el-row>
      <el-col :span="12">
        <el-form-item label="商户号" prop="mchId">
          <el-input placeholder="请输入商户号" v-model="info.mchId" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="商户Key" prop="mchKey">
          <el-input placeholder="请输入商户Key" v-model="info.mchKey" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="小程序appid" prop="miniAppId">
          <el-input placeholder="请输入小程序appid" v-model="info.miniAppId" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="小程序appSecret" prop="miniAppSecret">
          <el-input placeholder="请输入小程序appSecret" v-model="info.miniAppSecret" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="签名" prop="signType">
          <el-input placeholder="请输入签名" v-model="info.signType" />
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="支付回调地址" prop="notifyUrl">
          <el-input placeholder="请输入支付回调地址" v-model="info.notifyUrl" />
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>

</template>

<script>

export default {
  props: {
    info: {
      type: Object,
      default: null
    }
  },
  data() {
    return {
      // 表单校验
      rules: {
      }
    };
  }
};
</script>
